package com.yuanheng100.asset.consts.property;

/**
 * 按揭类型
 */
public enum Mortgage
{
    /**
     *商业贷款
     */
    COMMERCIAL_LOAN((short)10,"商业贷款"),
    /**
     * 公积金
     */
    PROVIDENT_FUND((short)20,"公积金"),
    /**
     * 无按揭
     */
    NULL((short)30,"无");

    private Short code;

    private String name;

    Mortgage(Short code, String name)
    {
        this.code = code;
        this.name = name;
    }

    public Short getCode()
    {
        return code;
    }

    public void setCode(Short code)
    {
        this.code = code;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }
}
